-- GENERATED SPELL FOR [Dark Conclave Talonite] --


function spell0_19825(pUnit, Event) --@Cold Touch,n/a--
pUnit:FullCastSpellOnTarget(39230,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_19825', 6293, 1)
end

function spell1_19825(pUnit, Event) --@Talon of Justice,n/a--
pUnit:FullCastSpellOnTarget(39229,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_19825', 3289, 1)
end

function Sorts_19825(pUnit, Event)
local choix_sorts_19825 = math.random(0, 1)
if choix_sorts_19825 == 0 then
pUnit:RegisterEvent('spell0_19825', 1, 1)
end
if choix_sorts_19825 == 1 then
pUnit:RegisterEvent('spell1_19825', 1, 1)
end
end

function mob19825_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_19825', math.random(1500, 3000), 1)
end

function mob19825_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob19825_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob19825_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(19825, 1, 'mob19825_Action')
RegisterUnitEvent(19825, 2, 'mob19825_Leave')
RegisterUnitEvent(19825, 3, 'mob19825_Kill')
RegisterUnitEvent(19825, 4, 'mob19825_Die')
